<!DOCTYPE html>
<html>
<head>
 	<meta name="content-type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="resources/jquery-1.11.1.js"></script>
	<script>
		var json={
			id:'3114004903',
			name:'david',
			feature:'work very hard',
			data:new Date()
		};
		var json2={
			name:'david',
			description2:'bebe'
		};
		$(function(){
			$.ajax({
				url:'json/test',
				data:JSON.stringify(json),
				type:'GET',
				success:function(data){
					alert('发送成功');
				},
				error:function(XMLHttpRequest,textStatus,errorThrown){
					alert('发送失败!!'+'  status:'+textStatus+' errorThrown:'+errorThrown);
				}
			});
		});
	</script>
</head>
<body>
<h2>Hello World!xxx</h2>
</body>
</html>